package com.woniuxy.wallet.service;

import com.woniuxy.commons.entity.Escort;
import com.woniuxy.commons.entity.Order;
import com.woniuxy.commons.entity.ServiceItem;
import com.woniuxy.commons.entity.Wallet;
import com.woniuxy.commons.util.ResponseResult;
import com.woniuxy.wallet.entity.A;


public interface WalletService {

    //首页查询
    public ResponseResult firstPage(int pageNum,int handleSize);

    //查询平台余额
    public ResponseResult balance();

    //查询待结算
    public ResponseResult waitMoney();

    //查询已结算金额
    public ResponseResult finish();

    //查询已支出金额
    public ResponseResult amount();

    //对账单查询1
    public ResponseResult findAll1();

    //对账单查询2
    public ResponseResult findAll2();

    //日期查找1
    public ResponseResult findTime1(String ot);

    //日期查找2
    public ResponseResult findTime2(String ot);

    //筛选查询
    public ResponseResult shaixuan(Wallet wallet);

    //查询结算明细
    public ResponseResult allCS(int pageNum,int handleSize);

    //条件查询提成
    public ResponseResult findT(A aaa);

    //根据陪护员名字查陪护员ID
    public Escort findEByName(String name);

    //更改订单状态码
    public void updateStatus(String no);

    //添加钱包
    public void insertWallet(Order order,int i);

    //根据服务id查服务
    public ServiceItem findById(long id);

    //findEscortById
    public Escort findEscortById(int id);
}
